#ifndef CTEXTUREREGION_H
#define CTEXTUREREGION_H

#include "cTexture.h"

class cTextureRegion
{
	public:
		//Initialize the components of the class
		cTextureRegion(char *fileName = NULL, int posX = 0, int posY = 0, int width = 0, int height = 0);

		//Deallocate the dynamic data of the class
		~cTextureRegion();

		//Section off apart of the texture for storage inside
		//of a Texture object
		void cropSection(cTexture *pTexture);
		
	private:
		//Holds the name of the Texture
		char m_fileName[20];

		//Holds a instance of the texture object
		cTexture m_texture;

		//Crops a section of the texture object
		RECT	m_cropper;
};
#endif